package com.pingpang.websocketchat;

public class ChartUser {

	//用户代号
	private String userCode;
	
	//用户名称
	private String userName;
	
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "ChartUser [userCode=" + userCode + ", userName=" + userName + "]";
	}

	@Override
	public boolean equals(Object obj) {
		if(null!=obj && obj.equals(userCode)) {
			return true;
		}else {
			return false;
		}
	}
	
    
	
}
